<template>
  <div class="column-mp">
    <el-card class="box-card" style="min-height: 500px">
      <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
        <el-tab-pane label="项目配置" name="first">
          <project-config/>
        </el-tab-pane>
        <el-tab-pane label="类型映射" name="third">
          <column-config/>
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
import ProjectConfig from "@/views/config/ProjectConfig";
import ColumnConfig from "@/views/config/ColumnConfig";

export default {
  components: {ColumnConfig, ProjectConfig},
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>
